package com.qf.mapper;

import com.qf.entity.Blogs;
import com.qf.entity.BlogsDTO;
import com.qf.entity.User;
import com.qf.entity.UserDTO;

import java.util.HashMap;
import java.util.List;

/**
 * ------回首昨日,更进一步------
 *
 * @author JinXiaoChen
 * @date 2025/4/27
 * @desc
 */
public interface BlogsMapper {
    List<Blogs> findAll();

    boolean addBlogs(Blogs blogs);

    boolean deleteBlogs(Integer id);

    boolean updateBlogs(Blogs blogs);

    boolean deleteBlogsBatch(List<Integer> ids);

    List<Blogs> findPage(BlogsDTO blogsDto);

    List<HashMap<String, Object>> findByTime(String time);

    List<HashMap<String, Object>> findByTime1(String time);

    void insertBatch(List<Blogs> list) ;


}
